package com.wings4.school.student

class School {


    String name;
    String address;
    String telephone;
    String email;
    String webAddress;
    String logo;
    Integer establishmentYear;
    String moto;
    String description;
    String status;
    Date createDate;
    Date modifiedDate;

    static mapping = {
        createDate(sqlType: 'datetime');
        modifiedDate(sqlType: 'datetime');
    }
    static constraints = {
        modifiedDate(nullable: true);
        address(nullable: true);
        telephone(nullable: true);
        email(nullable: true);
        logo(nullable: true);
        establishmentYear(nullable: true);
        moto(nullable: true);
        description(nullable: true);
        status(nullable: true);

    }
}
